from commonModelData.CommonModelData import AModelData
from commonModelData.impl.ModelData13N0 import ModelData13N0
from commonModelData.impl.ModelData13N1 import ModelData13N1
from utils import MumberUtils


class ModelData13N(AModelData):
    def getModelData(self):

        if MumberUtils.strToInt(self.BLogin.luckNum) <= 13: #13-0 小
            model = ModelData13N0()
        elif MumberUtils.strToInt(self.BLogin.luckNum) >=14: # 13-1 大
            model = ModelData13N1()

        model.setBlogin(self.BLogin)